<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<f:loadBundle basename="MessageResources" var="messages" />

<ui:composition>
	<h:form id="deleteReportLogForm">
		<p:panel id="buttonPanel">
			<p:commandButton id="deleteButton" value="Delete Report Logs"
				icon="ui-icon-trash"
				actionListener="#{reportLogBean.delete}"
				onclick="pbAjax.start()"
				widgetVar="deleteButton" />
			<p:messages id="messages" showDetail="true" autoUpdate="true"
				closable="false" />

			<p:blockUI block="messages" trigger="deleteButton">
        		PROCESSING<br />
				<p:graphicImage value="resources/images/processing.gif" />
			</p:blockUI>
		</p:panel>
	</h:form>
</ui:composition>

</html>
